﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using model;
using Dal;
using System.Data;

namespace Bll
{
    public class ApplicationBll
    {
        ApplicationDal dal = new ApplicationDal();
        public List<Application> GetList(string eno)
        {
            return dal.GetList(eno);
        }
        public Application GetSingle(int ano)
        {
            return dal.GetSingle(ano);
        }
        public void Update(Application app)
        {
            dal.Update(app);
        }
        public void Delete(int ano)
        {
            dal.Delete(ano);
        }
        public void Insert(Application app)
        {
            dal.Insert(app);
        }
        public void Delete(string eno)
        {
            dal.Delete(eno);
        }
        public DataTable getApplications(string keyword, int i)
        {
            return dal.getApplications(keyword, i);
        }        
    }
}
